<!DOCTYPE html>
<html>
  
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="utf-8">
  <meta name="author" content="youxiaxiaomage">
  
  
  <title>jfl-platform平台 | 游侠小马哥</title>

  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

  
    <meta name="keywords" content="Hexo">
  

  
  <meta name="description" content="游侠小马哥">

  

  
    <script src="//cdn.jsdelivr.net/npm/leancloud-storage@3.11.1/dist/av-min.js" async></script>
  

  
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML" async></script>
  

  
    <script src="//unpkg.com/valine/dist/Valine.min.js" async></script>
  

  

  <script>
  // theme-ad's config script
  // it can be used in every script
  
  window.AD_CONFIG = {
    leancloud: {"appid":"Hyq9wkH495DgNHWhDQCOfQSp-gzGzoHsz","appkey":"WaR7nrzhliHj9aVwdQzkdlGd","comment":true,"count":"true# 是否开启文章统计"},
    welcome: {"enable":false,"interval":30},
    start_time: "2019-06-15",
    passwords: ["efe07af7441da2b69c4a41e42e73be4db47f66010a56900788a458354a7373ec", ],
    is_post: true,
    lock: false,
    author: "youxiaxiaomage",
    share: {"twitter":false,"facebook":false,"weibo":true,"qq":true,"wechat":true},
    mathjax: true,
    page_type: "",
    root: "/blog/"
  };
</script>

  <script src="/blog/vendor/sha256.min.js"></script>
<script src="/blog/js/auth.js"></script>
<script src="/blog/js/index.js"></script>
<script src="/blog/vendor/qrcode.min.js"></script>

  
    <link rel="icon" href="/blog/images/favicon.ico">
    <link rel="apple-touch-icon" href="/blog/images/touch-icon.png">
  

  <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

  <link rel="stylesheet" href="/blog/css/index.css">
<link rel="stylesheet" href="/blog/styles/components/highlight/highlight.css">

  
</head>
  <body>
    <header class="site-header">
  <div class="site-header-brand">
    
      <span class="site-header-brand-title">
        <a href="/blog/">游侠小马哥</a>
      </span>
    
    
      <span class="site-header-brand-motto"> | 宁静致远</span>
    
  </div>
  <div class="site-header-right">
    <nav class="site-header-navigation">
      
        <a href="/blog/" target="_self">首页</a>
      
        <a href="/blog/archives/" target="_self">归档</a>
      
        <a href="/blog/tags/" target="_self">标签</a>
      
        <a href="/blog/categories/" target="_self">分类</a>
      
        <a href="/blog/friends/" target="_self">友链</a>
      
        <a href="/blog/about/" target="_self">关于</a>
      
    </nav>
    <div class="site-header-btn">
      
        <a href="https://github.com/youxiaxiaomage/" target="_blank" id="site-github">
          <i class="fa fa-github-alt"></i>
        </a>
      
      <a href="javascript:void(0);" id="site-search">
        <i class="fa fa-search"></i>
      </a>
      <a href="javascript:void(0);" id="site-nav-btn">
        <i class="fa fa-ellipsis-v"></i>
      </a>
    </div>
  </div>
</header>
<nav class="table-content" id="site-nav">
  <div class="table-content-title">
    <span>导航</span>
  </div>
  <div class="table-content-main">
    <ol class="toc">
      
        <li class="toc-item">
          <a href="/blog/" target="_self">
            首页
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/archives/" target="_self">
            归档
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/tags/" target="_self">
            标签
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/categories/" target="_self">
            分类
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/friends/" target="_self">
            友链
          </a>
        </li>
      
        <li class="toc-item">
          <a href="/blog/about/" target="_self">
            关于
          </a>
        </li>
      
    </ol>
  </div>
</nav>
<div id="site-process"></div>
    <main>
      
  <div class="passage">
  <div class="passage-meta">
    <span>
      <i class="fa fa-calendar"></i>2019-06-15
    </span>
    
    
      <span>
        | <i class="fa fa-unlock-alt"></i>UNLOCK
      </span>
    
  </div>
  <h1 class="passage-title">
    jfl-platform平台
  </h1>
  
  <article class="passage-article">
    <h4 id="项目介绍"><a href="#项目介绍" class="headerlink" title="项目介绍"></a>项目介绍</h4><p> 此项目主要用于核心系统迁移，使用最新的<code>微服务</code>技术，使用的后台技术主要有<code>Druid</code>数据源，<code>Mybatis-Plus</code>，<code>Dubbo</code>，<code>Redis</code>，<code>SpringMVC</code>，<code>SpringBoot</code>，<code>Shiro</code>，<code>Restful</code>，页面采用<code>thymeleaf</code>模板引擎，以及<code>Bootstrap</code>以及<code>Layui</code>样式等技术。</p>
<h4 id="软件架构"><a href="#软件架构" class="headerlink" title="软件架构"></a>软件架构</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line">├─jfl-platform-parent</span><br><span class="line">│	│</span><br><span class="line">│	├─jfl-platform-api----------------------接口模块 这个相当于开发给web或者对外接口部分的调用的api，以及定义的实体类</span><br><span class="line">│	│</span><br><span class="line">│	├─jfl-platform-common-------------------公共类 一些基础公共类</span><br><span class="line">│	│</span><br><span class="line">│	├─jfl-platform-service------------------dubbo服务层  主要与数据库交互</span><br><span class="line">│	│</span><br><span class="line">│	├─jfl-platform-web----------------------web端</span><br><span class="line">│	│</span><br><span class="line">│	└─jfl-platform-restful------------------restful接口对外</span><br></pre></td></tr></table></figure>

<h4 id="安装教程"><a href="#安装教程" class="headerlink" title="安装教程"></a>安装教程</h4><ol>
<li>登陆<code>gitee</code>，并注册相应的账号；</li>
<li>git clone或者下载zip包到本地；</li>
<li>导入到<code>eclipse</code>中，两种方式都可以；</li>
<li>安装<code>mysql</code>数据库；</li>
<li>导入数据库脚本；</li>
<li>安装<code>redis</code>服务；</li>
<li>安装<code>zookeeper</code>并启动服务；</li>
<li>安装<code>dubbo-admin</code>并启动服务;</li>
<li>修改<code>jfl-platform-service</code>下的<code>application.properties</code>和<code>jfl-platform-web</code>下的<code>application.properties</code>的数据库以<code>zookeeper</code>，以及<code>redis</code>地址；</li>
<li>先启动<code>JflPlatformServiceApplication.java</code>服务，再启动<code>JflPlatformWebApplication.java</code>，一定要按照顺序来，否则服务无法调用；</li>
<li>访问地址介绍：localhost:8881管理地址；dubbo-admin地址：localhost</li>
<li>服务关闭，按照以上顺序反过来停服务即可。</li>
</ol>
<h3 id="演示系统"><a href="#演示系统" class="headerlink" title="演示系统"></a>演示系统</h3><ol>
<li>地址：<a href="http://148.70.146.206" target="_blank" rel="noopener">http://148.70.146.206</a></li>
<li>用户名：admin 密码：123456</li>
</ol>
<h4 id="项目开发进度"><a href="#项目开发进度" class="headerlink" title="项目开发进度"></a>项目开发进度</h4><ol>
<li>2018-11-26之前  初次提交到<code>码云</code>，已集成<code>logback</code>，<code>mybatis</code>功能；</li>
<li>2018-11-26  项目已集成<code>pagehelper</code>功能，并能通过<code>postman</code>发送到后台请求，后续添加<code>shiro</code>来做用 户权限校验与认证；</li>
<li>2018-11-27 添加<code>jfl-platform-api</code>接口模块；</li>
<li>2018-11-28 集成<code>dubbo</code>功能，并能测试通过；</li>
<li>2018-11-29 <code>dubbo</code>功能集成完毕，优化代码结构中；</li>
<li>2018-12-02 代码结构优化完成；</li>
<li>2018-12-03 集成前端模板引擎<code>thymeleaf</code>；</li>
<li>2018-12-04 集成<code>redis</code>，主要用于存储常用的数据，以及系统缓存；</li>
<li>2018-12-11 大版本提交；</li>
<li>2018-12-12 <code>Shiro</code>调用<code>dubbo</code>服务成功，目前<code>redis</code>存在问题；</li>
<li>2018-12-13 完成系统菜单展示，<code>thymeleaf</code>模板以及<code>bootstrap</code>等技术完成；</li>
<li>2018-12-21 前端用户模块，岗位模块已基本完成，角色和菜单正在开发中；</li>
<li>2018-12-29 大功能上线，目前缓存模块以及日志模块尚未加入，正在优化后台代码以及页面中；</li>
<li>2019-01-01 添加系统操作日志功能，优化部分代码，数据字典跳转字典数据存在bug，尚待解决；</li>
<li>2019-01-03 用户密码加密问题，日志未记录请求参数问题，后期增加对请求参数是否记录的开关；</li>
<li>2019-01-04 优化代码结构，以及已知BUG；</li>
<li>2019-01-06 <code>Shiro</code>登录优化，添加部分会话管理功能；</li>
<li>2019-02-01 集成会话管理；</li>
<li>2019-02-14 <code>restful</code>接口优化；</li>
<li>2019-02-15 集成首页换肤功能；</li>
<li>2019-03-17 支持修改头像功能；</li>
<li>2019-04-11 修复日志模块，以及修复日志文件bug；</li>
<li>2019-04-21 优化页面结构、添加演示模式、添加第三方接口开关；</li>
<li>…</li>
</ol>
<h3 id="系统思维导图"><a href="#系统思维导图" class="headerlink" title="系统思维导图"></a>系统思维导图</h3><p><img src="/blog/images/JFL_1.png" alt="思维导图"></p>
<h3 id="后期开发方向"><a href="#后期开发方向" class="headerlink" title="后期开发方向"></a>后期开发方向</h3><p><img src="/blog/images/processing.png" alt="系统架构图"></p>
<h3 id="系统功能截图"><a href="#系统功能截图" class="headerlink" title="系统功能截图"></a>系统功能截图</h3><table>
    <tr>
     <td><img src="/blog/images/登录页.png"></td>
     <td><img src="/blog/images/首页.png"></td>
    </tr>
    <tr>
     <td><img src="/blog/images/左侧导航栏.png"></td>
     <td><img src="/blog/images/右侧导航栏.png"></td>
    </tr>
    <tr>
     <td><img src="/blog/images/顶部导航栏.png"></td>
    </tr>
    <tr>
     <td><img src="/blog/images/用户模块.png"></td>
     <td><img src="/blog/images/角色模块.png"></td>
    </tr>
    <tr>
     <td><img src="/blog/images/菜单模块.png"></td>
     <td><img src="/blog/images/部门模块.png"></td>
    </tr>
    <tr>
     <td><img src="/blog/images/岗位模块.png"></td>
     <td><img src="/blog/images/数据字典模块.png"></td>
    </tr>
    <tr>
     <td><img src="/blog/images/字典数据.png"></td>
     <td><img src="/blog/images/会话管理模块.png"></td>
    </tr>    
    <tr>
     <td><img src="/blog/images/日志管理模块.png"></td>
    </tr>
    <tr>
     <td><img src="/blog/images/部门树.png"></td>
     <td><img src="/blog/images/角色权限菜单.png"></td>
    </tr>    
</table>

<h3 id="技术点介绍"><a href="#技术点介绍" class="headerlink" title="技术点介绍"></a>技术点介绍</h3><ol>
<li><p><code>Mybatis</code>目前代码中使用了<code>mybatis-plus</code>（未使用其分页功能），分页使用的是<code>pageheplper</code>，自己重写了<code>BaseMapper</code>，<code>BaseService</code>以及<code>BaseServiceImpl</code>，对于<code>Mybatis-Plus</code>支持的批量更新未做处理，后期需要优化，以及事务的处理等；目前<code>Sql</code>使用了注解，<code>xml</code>以及代码动态<code>Sql</code>，学习的话可以都使用，后期统一使用一种规则或者重新分装；</p>
</li>
<li><p>实体类中由于使用了<code>@Data</code>注解，因此需要eclipse集成<code>lombok</code>插件；</p>
</li>
<li><p>由于使用热部署功能导致对象无法转换问题，需要在<code>pom.xml</code>注释到热加载的依赖</p>
</li>
<li><p>相应的截图未做出对应的调整请注意。</p>
<h4 id="使用说明"><a href="#使用说明" class="headerlink" title="使用说明"></a>使用说明</h4></li>
<li><p>jdk1.8+</p>
</li>
<li><p>dubbo 2.6+</p>
</li>
<li><p>redis 3.2+</p>
</li>
<li><p>mariadb10.+</p>
</li>
<li><p>tomcat8+</p>
</li>
<li><p>eclipse</p>
</li>
<li><p>zookeeper 3.4+</p>
</li>
<li><p>…</p>
</li>
</ol>
<h4 id="严重申明"><a href="#严重申明" class="headerlink" title="严重申明"></a>严重申明</h4><p>此项目只提供大家学习使用，如需商用请跟本人联系！<br>邮箱：<a href="mailto:yanzhao_jn@163.com" target="_blank" rel="noopener">yanzhao_jn@163.com</a>。 
一经发现商用，将追究其法律责任！</p>
<h3 id="技术交流"><a href="#技术交流" class="headerlink" title="技术交流"></a>技术交流</h3><p>QQ群：879507993</p>
<tr><td><img src="/blog/images/QQ.jpg"></td></tr>

  </article>
  <aside class="table-content" id="site-toc">
  <div class="table-content-title">
    <i class="fa fa-arrow-right fa-lg" id="site-toc-hide-btn"></i>
    <span>目录</span>
  </div>
  <div class="table-content-main">
    <ol class="toc"><li class="toc-item toc-level-4"><a class="toc-link" href="#项目介绍"><span class="toc-text">项目介绍</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#软件架构"><span class="toc-text">软件架构</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#安装教程"><span class="toc-text">安装教程</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#演示系统"><span class="toc-text">演示系统</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#项目开发进度"><span class="toc-text">项目开发进度</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#系统思维导图"><span class="toc-text">系统思维导图</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#后期开发方向"><span class="toc-text">后期开发方向</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#系统功能截图"><span class="toc-text">系统功能截图</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#技术点介绍"><span class="toc-text">技术点介绍</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#使用说明"><span class="toc-text">使用说明</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#严重申明"><span class="toc-text">严重申明</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#技术交流"><span class="toc-text">技术交流</span></a>
  </div>
</aside>
  
  
</div>

    </main>
    
      
<div class="site-comment-contanier" data-plateform="leancloud">
  
    <p id="site-comment-info">
      <i class="fa fa-spinner fa-spin"></i> 评论加载中
    </p>
    <div id="site-comment"></div>
  
</div>
    
    <div class="site-footer-wrapper">
  <footer class="site-footer">
    
      
        <div class="site-footer-col">
          <h5 class="site-footer-title">博客推荐</h5>
          
            <span class="site-footer-item">
              <a href="https://gitee.com/youxiaxiaomage/" target="_blank">youxiaxiaomage</a>
            </span>
          
        </div>
      
    
    <div class="site-footer-info">
      <i class="fa fa-clock-o"></i> 本站已稳定运行<span id="site-time"></span>
    </div>
    
    
      <div class="site-footer-info">
        <i class="fa fa-at"></i> Email: yanzhao_jn@163.com
      </div>
    
    <div class="site-footer-info">
      <i class="fa fa-copyright"></i> 
      2019 <a href="https://gitee.com/youxiaxiaomage/" target="_blank">youxiaxiaomage</a>.
      Created by <a href="https://gitee.com/youxiaxiaomage/" target="_blank">游侠小马哥</a>.
      All rights reserved.
    </div>
  </footer>
</div>
    <div id="site-layer" style="display:none;">
  <div class="site-layer-content">
    <div class="site-layer-header">
      <span class="site-layer-header-title" id="site-layer-title"></span>
      <i class="fa fa-close" id="site-layer-close"></i>
    </div>
    <div class="site-layer-body" id="site-layer-container">
      <div class="site-layer-input" id="site-layer-search" style="display: none;">
        <div class="site-layer-input-choose">
          <a href="javascript:void(0);" title="Change Search Engine">Google</a>
        </div>
        <input type="text">
        <i class="fa fa-search"></i>
      </div>
      
        <div class="site-layer-reward" id="site-layer-reward" style="display: none;">
          
            <div>
              <img src="/blog/images/wechat.png" alt="WeChat">
              
                <p>WeChat</p>
              
            </div>
          
            <div>
              <img src="/blog/images/alipay.png" alt="AliPay">
              
                <p>AliPay</p>
              
            </div>
          
        </div>
      
      <div id="site-layer-welcome" style="display:none;"></div>
    </div>
  </div>
</div>
    

<div class="bottom-bar">
  <div class="bottom-bar-left">
    <a href="/blog/passages/个人博客搭建/" data-enable="true">
      <i class="fa fa-arrow-left"></i>
    </a>
    <a href="/blog/passages/个人简历/" data-enable="true">
      <i class="fa fa-arrow-right"></i>
    </a>
  </div>
  <div class="bottom-bar-right">
    <a href="javascript:void(0);" data-enable="true" id="site-toc-show-btn">
      <i class="fa fa-bars"></i>
    </a>
    
      <a href="#site-comment" data-enable="true">
        <i class="fa fa-commenting"></i>
      </a>
    
    <a href="javascript:void(0);" id="site-toggle-share-btn">
      <i class="fa fa-share-alt"></i>
    </a>
    
      <a href="javascript:void(0);" id="site-reward">
        <i class="fa fa-thumbs-up"></i>
      </a>
    
    <a href="javascript:void(0);" id="back-top-btn">
      <i class="fa fa-chevron-up"></i>
    </a>
  </div>
</div>
    <div id="share-btn">
  
  
  
    <a id="share-btn-weibo" href="javascript:void(0);" target="_blank">
      <i class="fa fa-weibo"></i>
    </a>
  
  
    <a id="share-btn-qq" href="javascript:void(0);" target="_blank">
      <i class="fa fa-qq"></i>
    </a>
  
  
    <a id="share-btn-wechat" href="javascript:void(0);" target="_blank">
      <i class="fa fa-wechat"></i>
    </a>
  
</div>
    





    
  </body>
</html>